package org.edu.modules.center.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

@TableName("ve_kfc_student_apply")
@ApiModel(value="ve_kfc_student_apply对象", description="学员申请信息表")
public class VeKfcStudentApply
        implements Serializable
{
    private static final long serialVersionUID = 1L;
    @TableId(type=IdType.AUTO)
    @ApiModelProperty("主键ID，自动增长")
    private Integer id;
    @ApiModelProperty("课程ID")
    private Integer courseid;
    @ApiModelProperty("开课ID")
    private Integer opcosid;
    @ApiModelProperty("学员ID（传0是为当前登录用户ID）")
    private Integer studentid;
    @ApiModelProperty("学员姓名")
    private String studentname;
    @ApiModelProperty("学员用户名")
    private String studentaccount;
    @ApiModelProperty("教学班级ID")
    private Integer teachclassid;
    @ApiModelProperty("申请时间")
    private Integer verifyuserid;
    @ApiModelProperty("verifytime")
    private Integer verifytime;
    @ApiModelProperty("不通过原因")
    private String reason;
    @ApiModelProperty("申请状态（0=待审核，1=审核通过，2=审核未通过）")
    private Integer status;
    @ApiModelProperty("终端系统ID")
    private Integer terminalid;
    @ApiModelProperty("createtime")
    private Date createtime;
    @ApiModelProperty("多租户id")
    private Integer placeId;

    public VeKfcStudentApply setOpcosid(Integer opcosid)
    {
        this.opcosid = opcosid;return this;
    }

    public VeKfcStudentApply setCourseid(Integer courseid)
    {
        this.courseid = courseid;return this;
    }

    public VeKfcStudentApply setId(Integer id)
    {
        this.id = id;return this;
    }

    public String toString()
    {
        return "VeKfcStudentApply(id=" + getId() + ", courseid=" + getCourseid() + ", opcosid=" + getOpcosid() + ", studentid=" + getStudentid() + ", studentname=" + getStudentname() + ", studentaccount=" + getStudentaccount() + ", teachclassid=" + getTeachclassid() + ", verifyuserid=" + getVerifyuserid() + ", verifytime=" + getVerifytime() + ", reason=" + getReason() + ", status=" + getStatus() + ", terminalid=" + getTerminalid() + ", createtime=" + getCreatetime() + ", placeId=" + getPlaceId() + ")";
    }

    public VeKfcStudentApply setPlaceId(Integer placeId)
    {
        this.placeId = placeId;return this;
    }

    public VeKfcStudentApply setCreatetime(Date createtime)
    {
        this.createtime = createtime;return this;
    }

    public VeKfcStudentApply setTerminalid(Integer terminalid)
    {
        this.terminalid = terminalid;return this;
    }

    public VeKfcStudentApply setStatus(Integer status)
    {
        this.status = status;return this;
    }

    public VeKfcStudentApply setReason(String reason)
    {
        this.reason = reason;return this;
    }

    public VeKfcStudentApply setVerifytime(Integer verifytime)
    {
        this.verifytime = verifytime;return this;
    }

    public VeKfcStudentApply setVerifyuserid(Integer verifyuserid)
    {
        this.verifyuserid = verifyuserid;return this;
    }

    public VeKfcStudentApply setTeachclassid(Integer teachclassid)
    {
        this.teachclassid = teachclassid;return this;
    }

    public VeKfcStudentApply setStudentaccount(String studentaccount)
    {
        this.studentaccount = studentaccount;return this;
    }

    public VeKfcStudentApply setStudentname(String studentname)
    {
        this.studentname = studentname;return this;
    }

    public VeKfcStudentApply setStudentid(Integer studentid)
    {
        this.studentid = studentid;return this;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;Object $id = getId();result = result * 59 + ($id == null ? 43 : $id.hashCode());Object $courseid = getCourseid();result = result * 59 + ($courseid == null ? 43 : $courseid.hashCode());Object $opcosid = getOpcosid();result = result * 59 + ($opcosid == null ? 43 : $opcosid.hashCode());Object $studentid = getStudentid();result = result * 59 + ($studentid == null ? 43 : $studentid.hashCode());Object $teachclassid = getTeachclassid();result = result * 59 + ($teachclassid == null ? 43 : $teachclassid.hashCode());Object $verifyuserid = getVerifyuserid();result = result * 59 + ($verifyuserid == null ? 43 : $verifyuserid.hashCode());Object $verifytime = getVerifytime();result = result * 59 + ($verifytime == null ? 43 : $verifytime.hashCode());Object $status = getStatus();result = result * 59 + ($status == null ? 43 : $status.hashCode());Object $terminalid = getTerminalid();result = result * 59 + ($terminalid == null ? 43 : $terminalid.hashCode());Object $placeId = getPlaceId();result = result * 59 + ($placeId == null ? 43 : $placeId.hashCode());Object $studentname = getStudentname();result = result * 59 + ($studentname == null ? 43 : $studentname.hashCode());Object $studentaccount = getStudentaccount();result = result * 59 + ($studentaccount == null ? 43 : $studentaccount.hashCode());Object $reason = getReason();result = result * 59 + ($reason == null ? 43 : $reason.hashCode());Object $createtime = getCreatetime();result = result * 59 + ($createtime == null ? 43 : $createtime.hashCode());return result;
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof VeKfcStudentApply;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof VeKfcStudentApply)) {
            return false;
        }
        VeKfcStudentApply other = (VeKfcStudentApply)o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();Object other$id = other.getId();
        if (this$id == null ? other$id != null : !this$id.equals(other$id)) {
            return false;
        }
        Object this$courseid = getCourseid();Object other$courseid = other.getCourseid();
        if (this$courseid == null ? other$courseid != null : !this$courseid.equals(other$courseid)) {
            return false;
        }
        Object this$opcosid = getOpcosid();Object other$opcosid = other.getOpcosid();
        if (this$opcosid == null ? other$opcosid != null : !this$opcosid.equals(other$opcosid)) {
            return false;
        }
        Object this$studentid = getStudentid();Object other$studentid = other.getStudentid();
        if (this$studentid == null ? other$studentid != null : !this$studentid.equals(other$studentid)) {
            return false;
        }
        Object this$teachclassid = getTeachclassid();Object other$teachclassid = other.getTeachclassid();
        if (this$teachclassid == null ? other$teachclassid != null : !this$teachclassid.equals(other$teachclassid)) {
            return false;
        }
        Object this$verifyuserid = getVerifyuserid();Object other$verifyuserid = other.getVerifyuserid();
        if (this$verifyuserid == null ? other$verifyuserid != null : !this$verifyuserid.equals(other$verifyuserid)) {
            return false;
        }
        Object this$verifytime = getVerifytime();Object other$verifytime = other.getVerifytime();
        if (this$verifytime == null ? other$verifytime != null : !this$verifytime.equals(other$verifytime)) {
            return false;
        }
        Object this$status = getStatus();Object other$status = other.getStatus();
        if (this$status == null ? other$status != null : !this$status.equals(other$status)) {
            return false;
        }
        Object this$terminalid = getTerminalid();Object other$terminalid = other.getTerminalid();
        if (this$terminalid == null ? other$terminalid != null : !this$terminalid.equals(other$terminalid)) {
            return false;
        }
        Object this$placeId = getPlaceId();Object other$placeId = other.getPlaceId();
        if (this$placeId == null ? other$placeId != null : !this$placeId.equals(other$placeId)) {
            return false;
        }
        Object this$studentname = getStudentname();Object other$studentname = other.getStudentname();
        if (this$studentname == null ? other$studentname != null : !this$studentname.equals(other$studentname)) {
            return false;
        }
        Object this$studentaccount = getStudentaccount();Object other$studentaccount = other.getStudentaccount();
        if (this$studentaccount == null ? other$studentaccount != null : !this$studentaccount.equals(other$studentaccount)) {
            return false;
        }
        Object this$reason = getReason();Object other$reason = other.getReason();
        if (this$reason == null ? other$reason != null : !this$reason.equals(other$reason)) {
            return false;
        }
        Object this$createtime = getCreatetime();Object other$createtime = other.getCreatetime();return this$createtime == null ? other$createtime == null : this$createtime.equals(other$createtime);
    }

    public Integer getId()
    {
        return this.id;
    }

    public Integer getCourseid()
    {
        return this.courseid;
    }

    public Integer getOpcosid()
    {
        return this.opcosid;
    }

    public Integer getStudentid()
    {
        return this.studentid;
    }

    public String getStudentname()
    {
        return this.studentname;
    }

    public String getStudentaccount()
    {
        return this.studentaccount;
    }

    public Integer getTeachclassid()
    {
        return this.teachclassid;
    }

    public Integer getVerifyuserid()
    {
        return this.verifyuserid;
    }

    public Integer getVerifytime()
    {
        return this.verifytime;
    }

    public String getReason()
    {
        return this.reason;
    }

    public Integer getStatus()
    {
        return this.status;
    }

    public Integer getTerminalid()
    {
        return this.terminalid;
    }

    public Date getCreatetime()
    {
        return this.createtime;
    }

    public Integer getPlaceId()
    {
        return this.placeId;
    }
}
